package models;

import java.io.Serializable;

import javax.persistence.Embedded;
import javax.persistence.Id;

import objects.AnalyticDataSource;

public class DomainAnalyticModel implements Serializable{
	@Id private String domain = "";
	
	@Embedded private AnalyticDataSource visitPerMonth = new AnalyticDataSource();
	
	@Embedded private AnalyticDataSource visitPerYear = new AnalyticDataSource();

	@Embedded private AnalyticDataSource visitPerMonthByLocation = new AnalyticDataSource();
	
	@Embedded private AnalyticDataSource visitPerYearByLocation = new AnalyticDataSource();
	
	public String getDomain() {
		return domain;
	}

	public void setDomain(String domain) {
		this.domain = domain;
	}

	public AnalyticDataSource getVisitPerMonth() {
		return visitPerMonth;
	}

	public void setVisitPerMonth(AnalyticDataSource visitPerMonth) {
		this.visitPerMonth = visitPerMonth;
	}

	public AnalyticDataSource getVisitPerYear() {
		return visitPerYear;
	}

	public void setVisitPerYear(AnalyticDataSource visitPerYear) {
		this.visitPerYear = visitPerYear;
	}

	public AnalyticDataSource getVisitPerMonthByLocation() {
		return visitPerMonthByLocation;
	}

	public void setVisitPerMonthByLocation(
			AnalyticDataSource visitPerMonthByLocation) {
		this.visitPerMonthByLocation = visitPerMonthByLocation;
	}

	public AnalyticDataSource getVisitPerYearByLocation() {
		return visitPerYearByLocation;
	}

	public void setVisitPerYearByLocation(AnalyticDataSource visitPerYearByLocation) {
		this.visitPerYearByLocation = visitPerYearByLocation;
	}
	
}
